home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000155_news@columbia.edu_Mon Apr 17 14:35:21 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA23244
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Mon, 17 Apr 1995 10:35:28 -0400
  3. Received: by apakabar.cc.columbia.edu id AA24581
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Mon, 17 Apr 1995 10:35:26 -0400
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Automated SLIP logins from MSK...?
  9. Date: 17 Apr 1995 14:35:21 GMT
  10. Organization: Columbia University
  11. Lines: 82
  12. Message-Id: <3mtub9$nvo@apakabar.cc.columbia.edu>
  13. References: <3mt4ug$evh@kelly.teleport.com>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <3mt4ug$evh@kelly.teleport.com>,
  18. FIGHT THE POWER <sysone@teleport.com> wrote:
  19. : First: I have begun using Kermit over a dial-up SLIP
  20. : connection to my local provider. My script for doing this loads
  21. : the SLIP8250 driver if necessary, gets my password and dials. It
  22. : then handles the login. Once the connection is authorized, the
  23. : system displays the following:
  24. :     Set IP address of interface 'myname-slip'
  25. :     Packet mode enabled for IP address: aaa.bbb.ccc.ddd
  26. : At this point, I escape back to my Kermit prompt and enter
  27. :     Mykermit>set tcp/ip host myname-slip
  28. :     Mykermit>set tcp/ip address aaa.bbb.ccc.ddd
  29. : and from there I can TELNET &c. No problem so far. What I would
  30. : like to do is to automate the last portion of the transaction;
  31. : that is, for Kermit somehow to grab the hostname and address from
  32. : the incoming data. If I could get the incoming lines into some
  33. : variable(s), I might be able to use some of the new (3.14)
  34. : functions on them. INPUT and REINPUT don't seem to be geared for
  35. : this job -- at least from what the book and docs say. Is there a
  36. : way to retrieve and use information in this way within Kermit?
  37. Yes.  These are just hints; you'll have to work out the details
  38. yourself.  Something like this:
  39.  
  40.   INPUT 10 Packet mode enabled for IP address:
  41.   IF FAIL ...
  42.   CLEAR INPUT
  43.   INPUT 5 \13
  44.  
  45. At this point, the \v(input) variable should have the value
  46. of your IP addresss in it, perhaps with leading and/or trailing
  47. whitespace and carriage return.  Now you should be able to do
  48. something like:
  49.  
  50.   SET TCP/IP ADDRESS \v(input)
  51.  
  52. or:
  53.  
  54.   ASSIGN MYIP \v(input)
  55.   SET TCP/IP ADDRESS \m(myip)
  56.  
  57. Better yet, if your terminal server supports it (as do, for
  58. example, Ciscos), use BOOTP.  MS-DOS Kermit can be told to
  59. SET TCP/IP ADDRESS BOOTP, and the SLIP server can be configured
  60. to pass along BOOTP requests to your university's BOOTP server.
  61. Check your terminal server manual to see if this is possible.
  62.  
  63. : Second: At the library where I work I have installed
  64. : Kermit on several PCs acting as terminals for the on-line
  65. : catalog -- these are on an ethernet. There are also some
  66. : recently delivered computers which are hooked directly to the
  67. : host via 9600-baud lines (COM1). On these latter machines, the
  68. : host sends out escape sequences to change character colors
  69. : regardless of the terminal type. Even 'TYMONO' does this. The
  70. : problem is that the colors used are horrible. It would be much
  71. : nicer to stick with basic screen colors; I like to use cyan on
  72. : black with green underscore. Is there a way to instruct MS-DOS
  73. : Kermit to ignore certain incoming escape sequences? The problem
  74. : is not such attributes as 'bold, reverse underline,' as these I
  75. : can control. The problem is the actual color change commands;
  76. : e.g. ^[[34;40m or ^[[36;40m sequences. It is these I would like to
  77. : screen out. Is such selective screening possible?
  78. Long question, short answer: No.
  79.  
  80. : P.S. I just received _Kermit News_ No. 6 via snail. The
  81. : Brazilian Elections article was fascinating. Thanks!
  82. Glad you liked it.  As noted earlier, those of you who did not
  83. receive this issue can look at it on the Web at:
  84.  
  85.   http://www.columbia.edu/kermit/newsn6.html
  86.  
  87. Or can ftp the ASCII or PostScript versions from:
  88.  
  89.   ftp://kermit.columbia.edu/kermit/e/newsn6.txt or .ps.
  90.  
  91. - Frank